package com.neusoft.SPNursingHome.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neusoft.SPNursingHome.po.CheckOutRecord;
import com.neusoft.SPNursingHome.po.OutingRecord;
import com.neusoft.SPNursingHome.po.ResponseBean;

import java.util.Date;
import java.util.Map;

public interface OutingRecordService {
    ResponseBean<IPage<OutingRecord>> listRequests(long pageNum, long pageSize, Map<String, Object> query);
    ResponseBean<Void> applyForOuting(OutingRecord request);
    ResponseBean<Void> auditRequest(OutingRecord auditInfo);
    ResponseBean<Void> recordClientReturn(Integer outingId, Date returnTime);
}
